body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,input,p,th,td,table,textarea,select{
    margin:0;
    padding:0;
}
h1,h2,h3,h4,h5,h6{
    font-size:100%;
    font-weight:normal;
}
th,em{
    font-style:normal;
    font-weight:normal;
}
ol,ul{
    list-style:none;
}
table{
    border-collapse:collapse;
    border-spacing:0;
}
img,a img{
    border:0;
    width: 100%;
    display: block;
}
a{
    text-decoration: none;
    color: #595959;
}
a,a:link,a:visited,a:hover,a:active{
    text-decoration: none !important;
}
/*定义网站字体、主色、及字体颜色*/
body{
    font:14px 'Microsoft YaHei',Arial;
    color:#666;
    background: #f3f3f3;
}
section{
    padding-bottom: 20px;
}
.bg{
    background: #00D0D0;
}
.content{
    width: 96%;
    margin: 0 auto;
    margin-top: 10px;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
}

header{
    line-height: 40px;
    text-align: center;
    color: #fff;
}
.canvas-head{
    height: 40px;
    line-height: 40px;
    font-size: 16px;
}
.canvas-head-text{
    color: #8F8F94;
    font-size: 12px;
}
/* #main1 div{
    width: 100% !important;
}
#main1 canvas{
    width: 100% !important;
} */
.rank-tab{
    float: right;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    overflow: hidden;
    text-align: center;
    margin-top: 8px;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    border-left: 1px solid #CCC;
}
.rank-tab>div{
    float: left;
    width: 40px;
    border-right: 1px solid #CCC;
}
.rank-tab>div.active{
    background: #00D0D0;
    color: #fff;
}
.canvas-data{
    overflow: hidden;
}
.canvas-data-msg{
    width: 33.33%;
    box-sizing: border-box;
    float: left;
    padding: 5px 5px 10px 5px;
}
.canvas-data-msg:not(:nth-child(3n)){
    border-right: 1px solid #f3f3f3;
}
.canvas-data-msg{
    border-bottom: 1px solid #f3f3f3;
}
/* .canvas-data-msg:not(:last-child){
    border-bottom: 1px solid #f3f3f3;
} */
.canvas-data-msg>div:nth-child(1){
    font-size: 12px;
    line-height: 20px;
    color: #8F8F94;
    overflow: hidden;
}
.canvas-data-msg>div:nth-child(1)>div{
    float: left;
}
.canvas-data-msg>div:nth-child(1)>img{
    width: 14px;
    height: 14px;
    float: left;
    margin-top: 3px;
    margin-left: 3px;
}
.canvas-data-msg>div:nth-child(2){
    font-size: 16px;
    font-weight: 600;
    line-height:40px;
}
.activating-tab{
    border-bottom: 1px solid #F3F3F3;
    line-height: 80upx;
    display: flex;
    justify-content: flex-start;
    align-content: space-around;
    flex-wrap: wrap;
    flex-direction: row;
}
.activating-tab-box{
    width: 100%;
    overflow: hidden;
}
.activating-tab-box>div{
    width: 80px;
    float: left;
    line-height: 40px;
    color: #666666;
    font-size: 24upx;
    text-align: center;
}
.activating-tab-box>div.active{
    color: #00D0D0;
    font-weight: 600;
}
.activating-tab-swiper{
    height: 4px;
}
.activating-tab-swiper>div{
    width: 56px;
    margin-left: 12px;
    height: 4px;
    background: #00D0D0;
    transition: all 0.5s;
}
.time-tab{
    display: block;
    padding-bottom: 10px;
    border-bottom: 1px solid #F3F3F3;
}
.time-tab-change{
    width: 80%;
    margin: 0 auto;
    margin-top: 20px;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    border-left: 1px solid #CCC;
    height: 30px;
    line-height: 30px;
}
.time-tab-change>div{
    width: 25%;
    float: left;
    box-sizing: border-box;
    text-align: center;
    border-right: 1px solid #CCC;
}
.time-tab-change>div.active{
    background: #00D0D0;
    color: #fff;
}
.time-tab-time,.time-tab-extent{
    padding: 0 10px;
    margin-top: 10px;
    line-height: 25px;
}
.time-tab-time>text{
    color: #8F8F94;
    /* font-size: 28upx; */
}
.time-tab-extent>text:nth-child(1){
    font-weight: 600;
    margin-right: 10px;
}
.time-tab-extent>text:nth-child(2){
    margin-left: 20px;
}
.time-tab-extent>text:nth-child(3){
    margin-left: 10px;
}
.time-tab-extent>text{
    display: inline-block;
}
.time-tab-extent>text.red{
    color: #e4393c;
}
.time-tab-extent>text.greed{
    color: #3BC167;
}
.pie-two-box{
    overflow: hidden;
    margin-top: 20px;
}
.pie-two-box>div{
    float: left;
    width: 50%;
    text-align: center;
}
.card-msg{
    /* position: relative;
    top: -40px; */
    overflow: hidden;
}
.card-msg-sum{
    overflow: hidden;
    line-height: 40px;
    text-align: center;
}
.pie-two-box>div>div:nth-child(2){
    position: relative;
    bottom: -20px;
}
.pie-two-box>div>div:nth-child(2)>i{
    font-weight: 600;
}
.card-msg-color{
    overflow: hidden;
    float: left;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.card-msg-color>div{
    float: left;
    height: 20px;
}
.card-msg-color>div:not(:nth-child(4n)){
    margin-right: 10px;
}
.card-msg-color>div>div{
    float: left;
    width: 14px;
    height: 14px;
    margin-top: 3px;
    margin-right: 5px;
    border-radius: 50%;
}
.ranking{
    margin-top: 20px;
}
.ranking>div{
    overflow: hidden;
    /* text-align: center; */
}
.ranking-tab-dz{
    position: relative;
}
.ranking-tab-dz.active{
    color: #00D0D0;
}
.ranking-tab-dz.active>i{
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #00D0D0;
}
.ranking-tab-dz>img{
    width: 14px;
    height: 14px;
    position: absolute;
    right: 6px;
    top: 8px;
}

.ranking-tab-dz>i{
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #666;
    position: absolute;
    right: 10px;
    top: 10px;
}

.ranking>div>div{
    float: left;
    font-size: 12px;
    height: 28px;
    line-height: 28px;
}
.ranking>div>div:nth-child(1){
    width: 10%;
    text-align: center;
}
.ranking>div>div:nth-child(2){
    width: 30%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; 
    padding-right: 10px;
    box-sizing: border-box;
}
.ranking>div>div.times{
    width: 50% !important;
}
.ranking>div>div:nth-child(3),
.ranking>div>div:nth-child(4),
.ranking>div>div:nth-child(5){
    width: 20%;
    /* text-align: center; */
}
.ranking>div:not(:nth-child(1))>div:nth-child(3),
.ranking>div:not(:nth-child(1))>div:nth-child(4),
.ranking>div:not(:nth-child(1))>div:nth-child(5){
    text-align: right; 
    padding-right: 10px;
    box-sizing: border-box;
}
.sum-box{
    position: relative;
    text-align: center;
    height: 30px;
    line-height: 30px;
    bottom: -10px;
}
.sum-box>text{
    font-size: 18px;
    color: #e4393c;
    font-weight: 600
}
/* .product-ranking{
    margin-top: 10px;
} */
.product-ranking>div{
    overflow: hidden;
    height: 28px;
    line-height: 28px;
}
.product-ranking>div>div{
    float: left;
    font-size: 12px;
}
.product-ranking>div>div:nth-child(1){
    width: 10%;
    text-align: center;
}
.product-ranking>div>div:nth-child(2){
    width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* padding-right: 50px; */
    box-sizing: border-box;
}
.product-ranking>div>div:nth-child(2)>img{
    float: left;
}
.product-ranking>div>div:nth-child(2)>img:nth-child(1){
    width: 24px;
    height: 24px;
    margin-right: 5px;
    margin-top: 2px;
}
.product-ranking>div>div:nth-child(2)>img:nth-child(2){
    width: auto;
    height: 24px;
    margin-right: 5px;
    margin-top: 2px;
}
.product-ranking>div>div:nth-child(3){
    width: 20%;
    text-align: right;
}
.model{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
    display: none;
}
.model>div{
    width: 70%;
    margin: 0 auto;
    margin-top: 150px;
    background: #fff;
    border-radius: 6px;
    padding-bottom: 30px;
}
.model>div>h1{
    padding: 0 5px 0 25px ;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 16px
}
.model>div>h1>img{
    width: 20px;
    height: 20px;
    float: right;
    margin-top: 10px
}
.model>div>p{
    text-align: center;
    font-size: 16px;
    line-height: 20px;
    margin-top: 20px;
    padding: 0 10px;
}
.model>div>button{
    display: block;
    width: 120px;
    margin: 0 auto;
    margin-top: 30px;
    height: 35px;
    border: none;
    background: #00D0D0;
    border-radius: 6px;
    color: #fff;
    outline: none
}
@media screen and (max-width:359px){
    .canvas-head{ 
        font-size: 12px;
    }
    .canvas-data-msg>div:nth-child(1){
        height: 40px;
    }
    .ranking-tab-dz>i{
        right: 4px;
    }
}
@media screen and (max-width:359px){
    .ranking>div>div:nth-child(2){
        width: 20%;
    }
    .ranking>div>div:nth-child(3),
    .ranking>div>div:nth-child(4),
    .ranking>div>div:nth-child(5){
        width: 23.33%;
    }
}
